﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<META name="keywords" content="$!config.keywords" />
<META name="description" content="$!config.description" />
<title>用户登录</title>
<link rel="stylesheet" href="skin/gold/css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="skin/gold/css/style.css" type="text/css" media="screen" />
<script type="text/javascript" src="res/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="res/js/common.js"></script>
<script type="text/javascript" src="skin/gold/js/html5.js"></script>
<script type="text/javascript" src="skin/gold/js/ikeke.js"></script>
<!--[if lte IE 6]>
<script type="text/javascript" src="skin/gold/js/DD_belatedPNG.js"></script>
<script type="text/javascript">
DD_belatedPNG.fix('a,a:hover,div,span,img,li');
</script>
<![endif]-->
<script>

function doCheck()
{
return true;
}
function checkForm(theForm)
{
if(theForm.username.value=="")
{
alert("用户名不能为空！");
theForm.username.focus();
return false;
}
if(theForm.password.value=="")
{
alert("密码不能为空！");
theForm.password.focus();
return false;
}
if(theForm.randomCode.value=="")
{
alert("验证码不能为空！");
theForm.randomCode.focus();
return false;
}
return true;
}
</script>
</head>
<body>
<div id="container">
	<div id="asideback"></div>
	<div id="asideswitch"><div class="button"></div></div>
	#parse('/inc/left.htm')
	
	<div id="rightbody"><!-- 主体部分 -->
		<section id="wrapper">
			#parse('/inc/head.htm')
<table class="write1">
    <tr> 
      <td height="400" valign="top">
<form action="bbsuser.do" method="post" name="editForm"  onsubmit="return checkForm(this)">
	   <input type="hidden" name="parameter" value="login">	     
<table width="98%" border="0" cellspacing="0" cellpadding="0">
              <tr align="center"> 
                <td height="55" colspan="2" class="news_text"><strong></strong></td>
              </tr>
              <tr align="center">
                <td colspan="2" class="news_text"><strong><font color="#6f4b38">论坛用户登录</font></strong></td>
              </tr>
              <tr> 
                <td colspan="2">&nbsp;</td>
              </tr>
              <tr> 
                <td width="45%" align="right"><span class="cn_12px"><strong><font color="#666666">用户名：</font></strong></span> 
                </td>
                <td valign="middle" > <INPUT class=inputstyle maxLength=20 style="width:120px" name=username value="$!username"> 
                  <font color="#FF0000">*</font></td>
              </tr>
              <tr> 
                <td height="18" align="right"><span class="cn_12px"><strong><font color="#666666">密码：</font></strong></span> 
                </td>
                <td valign="middle" > <INPUT class=inputstyle maxLength=20 style="width:120px" name=password type=password value=""> 
                  <font color="#FF0000">*</font></td>
              </tr>
              <tr> 
                <td width="45%" height="38" align="right"><span class="cn_12px"><strong><font color="#666666">验证码：</font></strong></span> 
                </td>
                <td valign="middle"> <input name="randomCode" maxlength=4 style="width:60px">
                  <font color="#FF0000"><img border="0" src="/bbs/randomCode.do">*</font></td>
              </tr>
                 <tr align="center">
                    	<td colspan="2" class="huinoline12">Cookie有效期：
                    	<input type="radio" name="cktime" value="31536000">一年
                    	<input type="radio" name="cktime" value="2592000">一个月
                    	<input type="radio" name="cktime" value="86400">一天
                    	<input type="radio" name="cktime" value="3600">一小时
                    	<input type="radio" name="cktime" value="0" checked>即时
                    	</td>
          	</tr>
              <tr align="center"> 
                <td colspan="2">　
                  <input type="submit" name="Submit" value="登录">                  　
                  <a href="bbsuser.do?parameter=reg">注册</a> <a href="/bbs/bbsmail.do?parameter=find" class="forget">忘记密码</a>　</td>
              </tr>
              
              <tr align="center"> 
                <td colspan="2">&nbsp;                   </td>
              </tr>
        </table>
          
</form>        
		</td>
    </tr>
</table>
		</section>
	</div>

	#parse('/inc/foot.htm')
</div>
#if($msg)
<script>
alert('$!msg');
</script>
#end